package com.barkerton.crawler;

import java.net.URL;

/**
 * Represents a page crawled.
 * 
 * @author c.barker
 *
 */
public class Page {

	private URL url;
	private String content;
	
	private Page() {}
	
	public Page(URL url) {
		this.url = url;
	}
	
	public String toString() {
		return url.toString();
	}
	
	public void setContent(String content) { this.content = content; }
	public String getContent() { return this.content; }
}
